package gitee.derumin.really_forge.enchantments;

import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentTarget;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;

public class RFEnchantments {
    public static final Enchantment HEAVINESS = new HeavinessEnchantment(Enchantment.Rarity.UNCOMMON, EnchantmentTarget.DIGGER, new EquipmentSlot[]{EquipmentSlot.MAINHAND});
    public static final Enchantment LITHE = new LitheEnchantment(Enchantment.Rarity.RARE, EnchantmentTarget.DIGGER, new EquipmentSlot[]{EquipmentSlot.MAINHAND});

    public static void init(){
        Registry.register(Registries.ENCHANTMENT, new Identifier("really_forge","heaviness"), HEAVINESS);
        Registry.register(Registries.ENCHANTMENT, new Identifier("really_forge","lithe"), LITHE);
    }
}
